package com.ios.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * IosBizDocumentJour entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ios_biz_document_jour", catalog = "ios")
public class IosBizDocumentJour implements java.io.Serializable {

	// Fields

	private Integer jourId;
	private Long documentId;
	private Long storehouseId;
	private String storehouseName;
	private String goodsCode;
	private String goodsName;
	private String unit;
	private String specification;
	private Float price;
	private Integer quantity;
	private Integer subtotal;
	private Integer arrivedQuantity;
	private Integer noarrivedQuantity;
	private String remark;
	private String discountRate;
	private Float discountPrice;
	private String taxRate;
	private Float taxPrice;
	private Float tax;

	// Constructors

	/** default constructor */
	public IosBizDocumentJour() {
	}

	/** full constructor */
	public IosBizDocumentJour(Long documentId, Long storehouseId,
			String storehouseName, String goodsCode, String goodsName,
			String unit, String specification, Float price, Integer quantity,
			Integer subtotal, Integer arrivedQuantity,
			Integer noarrivedQuantity, String remark, String discountRate,
			Float discountPrice, String taxRate, Float taxPrice, Float tax) {
		this.documentId = documentId;
		this.storehouseId = storehouseId;
		this.storehouseName = storehouseName;
		this.goodsCode = goodsCode;
		this.goodsName = goodsName;
		this.unit = unit;
		this.specification = specification;
		this.price = price;
		this.quantity = quantity;
		this.subtotal = subtotal;
		this.arrivedQuantity = arrivedQuantity;
		this.noarrivedQuantity = noarrivedQuantity;
		this.remark = remark;
		this.discountRate = discountRate;
		this.discountPrice = discountPrice;
		this.taxRate = taxRate;
		this.taxPrice = taxPrice;
		this.tax = tax;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "jour_id", unique = true, nullable = false)
	public Integer getJourId() {
		return this.jourId;
	}

	public void setJourId(Integer jourId) {
		this.jourId = jourId;
	}

	@Column(name = "document_id")
	public Long getDocumentId() {
		return this.documentId;
	}

	public void setDocumentId(Long documentId) {
		this.documentId = documentId;
	}

	@Column(name = "storehouse_id")
	public Long getStorehouseId() {
		return this.storehouseId;
	}

	public void setStorehouseId(Long storehouseId) {
		this.storehouseId = storehouseId;
	}

	@Column(name = "storehouse_name")
	public String getStorehouseName() {
		return this.storehouseName;
	}

	public void setStorehouseName(String storehouseName) {
		this.storehouseName = storehouseName;
	}

	@Column(name = "goods_code")
	public String getGoodsCode() {
		return this.goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	@Column(name = "goods_name")
	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	@Column(name = "unit")
	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Column(name = "specification")
	public String getSpecification() {
		return this.specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	@Column(name = "price", precision = 12)
	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	@Column(name = "quantity")
	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	@Column(name = "subtotal")
	public Integer getSubtotal() {
		return this.subtotal;
	}

	public void setSubtotal(Integer subtotal) {
		this.subtotal = subtotal;
	}

	@Column(name = "arrived_quantity")
	public Integer getArrivedQuantity() {
		return this.arrivedQuantity;
	}

	public void setArrivedQuantity(Integer arrivedQuantity) {
		this.arrivedQuantity = arrivedQuantity;
	}

	@Column(name = "noarrived_quantity")
	public Integer getNoarrivedQuantity() {
		return this.noarrivedQuantity;
	}

	public void setNoarrivedQuantity(Integer noarrivedQuantity) {
		this.noarrivedQuantity = noarrivedQuantity;
	}

	@Column(name = "remark")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "discount_rate")
	public String getDiscountRate() {
		return this.discountRate;
	}

	public void setDiscountRate(String discountRate) {
		this.discountRate = discountRate;
	}

	@Column(name = "discount_price", precision = 12)
	public Float getDiscountPrice() {
		return this.discountPrice;
	}

	public void setDiscountPrice(Float discountPrice) {
		this.discountPrice = discountPrice;
	}

	@Column(name = "tax_rate")
	public String getTaxRate() {
		return this.taxRate;
	}

	public void setTaxRate(String taxRate) {
		this.taxRate = taxRate;
	}

	@Column(name = "tax_price", precision = 12)
	public Float getTaxPrice() {
		return this.taxPrice;
	}

	public void setTaxPrice(Float taxPrice) {
		this.taxPrice = taxPrice;
	}

	@Column(name = "tax", precision = 12)
	public Float getTax() {
		return this.tax;
	}

	public void setTax(Float tax) {
		this.tax = tax;
	}

}